package com.djx.postgre.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.djx.postgre.entity.Tachographs;
import com.djx.postgre.service.TachographsService;

/**
 * @creator wangli66
 * @create-time 11:06 2019/12/3
 **/
@RestController
@RequestMapping("/tachographs")
public class TachographsController {

	@Autowired
	private TachographsService service;

	@RequestMapping("/insert")
	public void insert(Tachographs entity) {
		service.insert(entity);
	}

}